]> dgit.raspbian.org Git - gnome-shell.git/commit
NMConnectionSection: don't remove connections that were never added
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 8 Mar 2014 18:54:09 +0000 (19:54 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 10 Mar 2014 16:49:43 +0000 (17:49 +0100)
commit522f3bf171dbf3e3378bf99b8c7500c63f62bd1d
tree1a4e8f95c51f1d668c663effc4a7ce34fab4349e
parentfb7400ab8581591b9f8762d160ecc8fa000b9552
NMConnectionSection: don't remove connections that were never added

NMApplet will call removeConnection() unconditionally on all sections,
including those that had nothing to do with the connection in the first
place.

Fixes:

Gjs-WARNING **: JS ERROR: TypeError: this._connectionItems.get(...) is undefined
NMConnectionSection<.removeConnection@resource:///org/gnome/shell/ui/status/network.js:323
wrapper@resource:///org/gnome/gjs/modules/lang.js:169
NMApplet<._connectionRemoved@resource:///org/gnome/shell/ui/status/network.js:1885
wrapper@resource:///org/gnome/gjs/modules/lang.js:169

https://bugzilla.gnome.org/show_bug.cgi?id=725958
js/ui/status/network.js